import { request } from '@ruifox-cms/utils'

//根据主账号id查询ram用户
export function getRamUser(params) {
    return request({
        url: '/provider/ramUser/selectPage',
        method: 'get',
        params
    })
}
//添加ram用户
export function insertRamUser(data) {
    return request({
        url: '/provider/ramUser/insert',
        method: 'post',
        data
    })
}
//修改ram用户
export function updateRamUser(data) {
    return request({
        url: '/provider/ramUser/update',
        method: 'post',
        data
    })
}
//禁用ram用户
export function banRamUser(data) {
    return request({
        url: '/provider/ramUser/ban',
        method: 'post',
        data
    })
}
//删除ram用户
export function deleteRamUser(data) {
    return request({
        url: '/provider/ramUser/delete',
        method: 'post',
        data
    })
}
//批量删除ram用户
export function batchDeleteRamUser(data) {
    return request({
        url: '/provider/ramUser/deleteList',
        method: 'post',
        data
    })
}
// 获取团队设置
export function selectGroupSetting() {
    return request({
        url: '/provider/group/selectSetting',
        method: 'get'
    })
}